define(['egis'], function (egis) {
    Window.deserializer = Window.deserializer || new egis.core.Deserializer();
    Window.container = Window.container || {};
    dsBridge.register('create_TrafficLayer', function (sourceId, url,  clientId, clientSecret,zIndex) {
        var layer = new egis.carto.TrafficLayer({
            "url": url+"/wrts/getTile",
            "tileType": 208,
            "clientId": clientId,
            "clientSecret": clientSecret,
            "zIndex":zIndex,
            "projection": "baidu"
        });
        Window.container[sourceId] = layer;
    })
})